﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminMsaster.master" AutoEventWireup="true" CodeFile="SystemPara.aspx.cs" Inherits="Admin_SystemPara" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

     <div id="page-wrapper" >
            <div id="page-inner">
			 <div class="row">
                    <div class="col-md-12">
                        <h1 class="page-header">
                            数据库的系统参数设定<small> 管理和查看包括日租金等运行参数</small>
                        </h1>
                        
                        <div class="breadcrumb" style="font-family:FZBeiWeiKaiShu-S19S;">
                        <h2>*数据库的系统参数条目</h2> <hr />
                        <p style="padding-top:0px;font-size:18px;">&nbsp;&nbsp;&nbsp;&nbsp;系统当前读者用户数量：<code style="font-family:FZBeiWeiKaiShu-S19S;color:#41B300;font-size:100%"><%=readerCount %></code></p>
                        <p style="padding-top:0px;font-size:18px;">&nbsp;&nbsp;&nbsp;&nbsp;系统当前图书信息数量：<code style="font-family:FZBeiWeiKaiShu-S19S;color:#41B300;font-size:100%"><%=booksCount %></code></p>   
                        <p style="padding-top:0px;font-size:18px;">&nbsp;&nbsp;&nbsp;&nbsp;系统管理员总数：<code style="font-family:FZBeiWeiKaiShu-S19S;color:#41B300;font-size:100%"><%=adminCount %></code></p>   
                        <p style="padding-top:0px;font-size:18px;">&nbsp;&nbsp;&nbsp;&nbsp;系统罚款金额总收入：<code style="font-family:FZBeiWeiKaiShu-S19S;color:#41B300;font-size:100%"><%=AmeCount %></code></p>   
                        <p style="padding-top:0px;font-size:18px;">&nbsp;&nbsp;&nbsp;&nbsp;图书被借阅次数总数：<code style="font-family:FZBeiWeiKaiShu-S19S;color:#41B300;font-size:100%"><%=LendingCount %></code></p> 
                         <h2>*可修改的系统参数条目</h2> <hr />   
                       <asp:GridView ID="GridView1" CssClass="mytablestyle table table-striped table-bordered table-hover" runat="server" DataSourceID="SqlDataSource1" AutoGenerateColumns="False" DataKeyNames="InfoID">
                           <Columns>
                               <asp:CommandField ShowSelectButton="True" />
                               <asp:BoundField DataField="InfoID" HeaderText="类目ID" ReadOnly="True" SortExpression="InfoID" />
                               <asp:BoundField DataField="daymoney" HeaderText="图书日基本租金" SortExpression="daymoney" />
                               <asp:BoundField DataField="lowerLimit" HeaderText="读者可借阅图书金额最低限度" SortExpression="lowerLimit" />
                               <asp:CommandField ShowEditButton="True" />
                           </Columns>
                            </asp:GridView>
                        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:BooksManagerSystemConnectionString %>" SelectCommand="SELECT [daymoney], [lowerLimit], [InfoID] FROM [System_state]"></asp:SqlDataSource>
                        </div>
                    </div>
                </div> 
                 <!-- /. ROW  -->
			
				</div>
      
            </div>
     <!-- Bootstrap Js必要 -->
    <script src="assets/js/jquery-1.10.2.js"></script>
    <script src="assets/js/bootstrap.min.js"></script>



    <script src="assets/js/bootstrap-datetimepicker.min.js"></script>
    <script src="assets/js/bootstrap-datetimepicker.zh-CN.js"></script>
    <!-- Metis Menu Js -->
    <script src="assets/js/jquery.metisMenu.js"></script>
    <!-- DATA TABLE SCRIPTS -->
    <script src="assets/js/ReportTables.js"></script>
    <script src="assets/js/dataTables/dataTables.bootstrap.js"></script>
    <!-- Custom Js -->
    <script src="assets/js/custom-scripts.js"></script>
    <!-- 日期管理 -->
    <script type="text/javascript">
        $('.form_date').datetimepicker({
            language: 'zh-CN',
            weekStart: 1,
            todayBtn: 1,
            autoclose: 1,
            todayHighlight: 1,
            startView: 2,
            minView: 2,
            forceParse: 0,
            format: 'yyyy-mm-dd'
        });
    </script>

</asp:Content>

